/////////////////////////////////////////////////////////////////////////////
// Name:        mainpanel.h
// Purpose:     
// Author:      Julian Smart
// Modified by: 
// Created:     18/02/2009 19:18:16
// RCS-ID:      
// Copyright:   
// Licence:     New BSD License
/////////////////////////////////////////////////////////////////////////////

#ifndef _MAINPANEL_H_
#define _MAINPANEL_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/notebook.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
class MainPanel;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_MAIN_PANEL 10002
#define ID_BLURT_NOTEBOOK 10008
#define ID_TEXT_CTRL 10003
#define ID_LOG_CTRL 10009
#define ID_INPUT_FORMAT 10005
#define ID_SPEAK 10004
#define SYMBOL_MAINPANEL_STYLE wxNO_BORDER|wxTAB_TRAVERSAL
#define SYMBOL_MAINPANEL_IDNAME ID_MAIN_PANEL
#define SYMBOL_MAINPANEL_SIZE wxDefaultSize
#define SYMBOL_MAINPANEL_POSITION wxDefaultPosition
////@end control identifiers


/*!
 * MainPanel class declaration
 */

class MainPanel: public wxPanel
{    
    DECLARE_DYNAMIC_CLASS( MainPanel )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    MainPanel();
    MainPanel(wxWindow* parent, wxWindowID id = ID_MAIN_PANEL, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL);

    /// Creation
    bool Create(wxWindow* parent, wxWindowID id = ID_MAIN_PANEL, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL);

    /// Destructor
    ~MainPanel();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin MainPanel event handler declarations

////@end MainPanel event handler declarations

////@begin MainPanel member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end MainPanel member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin MainPanel member variables
    wxTextCtrl* m_textCtrl;
    wxTextCtrl* m_logCtrl;
    wxChoice* m_inputFormat;
    wxButton* m_speakCtrl;
////@end MainPanel member variables
};

#endif
    // _MAINPANEL_H_
